/*
 * @Description: 文件上传服务器配置
 * @Autor: hyduan
 * @Date: 
 */
import config from '@/config'
import store from '@/store'
// debugger
const { baseUrl } = config
const userInfo = (store.getters.userInfo && store.getters.userInfo.accessToken) ? store.getters.userInfo : (sessionStorage.getItem('userInfo') ? JSON.parse(sessionStorage.getItem('userInfo')).value : '');
const interfaceUrl = {
    uploadFile: baseUrl + '/uploadUser',
    downHandSourceTemplate: baseUrl + '/handSource/downloadImportTemplate',
    uploadGQXXBFile: baseUrl + '/handSource/uploadImport_GQXXB',
    // AdvUploadFile: baseURL + '/homepage/ads/files:upload',
    authorization: userInfo.accessToken
}

export default interfaceUrl
